package com.br.databaseiii.domain;

import javax.persistence.ManyToOne;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.activerecord.RooJpaActiveRecord;
import org.springframework.roo.addon.tostring.RooToString;

@RooJavaBean
@RooToString
@RooJpaActiveRecord(table = "security_role_assignments")
public class SecurityAuthority {

    @ManyToOne
    private SecurityPrincipal username;

    @ManyToOne
    private Authority roleId;
}
